package Day005_API02.ZuoYe;

import java.util.Arrays;

public class Test3 {
    public static void main(String[] args) {
        int[] arr = {1,332,43,25,3324,34,335,4,45,2,43,52,54};
        //1.
        System.out.println(Arrays.toString(arr)); // [1, 332, 43, 25, 3324, 34, 335, 4, 45, 2, 43, 52, 54]
        //2.
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr)); // [1, 2, 4, 25, 34, 43, 43, 45, 52, 54, 332, 335, 3324]

    }
}
